import MySQLdb

dbconfig = {'creator':MySQLdb, 'maxusage':0, 'db':
              {'host':'localhost', 'user':'root', 'passwd':'firefly@', 'db':'test', 'charset':'utf8'}
          }
def getConfig():
    return {
        "db":dbconfig
        }
        
def getMapper():
    from mysqldemo.controllers import IndexController
    return {
            "/mysqldemo":IndexController()
            }